package com.qcxk.yuqian.rtu.service;

import com.qcxk.yuqian.rtu.controller.model.query.RtuDTO;
import com.qcxk.yuqian.rtu.controller.model.query.RtuDataDTO;
import com.qcxk.yuqian.rtu.controller.model.query.RtuVO;
import com.qcxk.yuqian.rtu.entity.Rtu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther lp
 * @create 2021-11-15 03:21:45
 * @describe 服务类
 */
public interface IRtuService extends IService<Rtu> {

    Page queryRtuPage(Page page, Rtu rtu);

    boolean deleteById(Rtu rtu);

    Page queryRtuStatusPage(Page page, Rtu rtu);
    Rtu findRtu(String rtuNo);
    int addRtu(Rtu rtu);
    Rtu findRtuById(Long id);
    List<RtuDTO> getRtuAddress(Rtu rtu);
    List<RtuVO> findRTUList(RtuVO dto);
}

